﻿using ICSharpCode.WinFormsUI.Docking;
using System;
using System.Drawing;

namespace DevelopAssistant.Core.ToolBar
{
    public partial class TodoBar : DockContent
    {
        public TodoBar()
        {
            InitializeComponent();
            InitializeControls();           
        }

        public void InitializeControls()
        {
            
        }

        protected override void OnSizeChanged(EventArgs e)
        {
            base.OnSizeChanged(e);
            this.panel1.Invalidate();
        }

        private void btn_todolist_refresh_Click(object sender, EventArgs e)
        {
            System.Windows.Forms.MessageBox.Show(this.panel2.Height + "");
        }

        private void TodoBar_Load(object sender, EventArgs e)
        {
            //this.panel2.Height = 32;
        }
    }
}
